package com.usian.api.article;

import com.baomidou.mybatisplus.extension.api.R;
import com.usian.model.article.pojos.ApAuthor;
import com.usian.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.PathVariable;

public interface ApAuthorApi {

    ResponseResult saveAuthor(ApAuthor apAuthor);

    ApAuthor findByUserId(Integer userId);

    ApAuthor findByName(String name);

    ApAuthor findByWmUserId(Integer userId);

    ApAuthor findById(Integer id);
}
